﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace LetsThread
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindowOld : Window
    {
        private string folder;

        public MainWindowOld()
        {
            InitializeComponent();
        }

        private void BrowseForFolder(object sender, RoutedEventArgs e)
        {
            var dialog = new System.Windows.Forms.FolderBrowserDialog();
            dialog.Description = "Select a Folder containing Pictures";
            dialog.SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonPictures); 
            //dialog.RootFolder = Environment.SpecialFolder.CommonPictures;
            System.Windows.Forms.DialogResult result = dialog.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                folder = dialog.SelectedPath;
            }
        }

        private void Fetch(object sender, RoutedEventArgs e)
        {

        }
    }
}
